package com.jy.adscm.operation.base.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.jy.adscm.exception.AdscmSystemException;
import com.jy.adscm.operation.base.bean.QueryTaskWorkPlan;
import com.jy.adscm.operation.base.bean.TaskWorkPlan;
import com.baomidou.mybatisplus.service.IService;
import com.jy.adscm.security.utils.Token;

/**
 * <p>
 * 个人工作计划 服务类
 * </p>
 *
 * @author zyl
 * @since 2020-05-26
 */
public interface TaskWorkPlanService extends IService<TaskWorkPlan> {

    boolean insertTaskWorkPlan(TaskWorkPlan taskWorkPlan, Token token) throws AdscmSystemException;

    boolean updateTaskWorkPlan(TaskWorkPlan taskWorkPlan, Token token);

    boolean deleteTaskWorkPlan(Long id, Token token);

    Page<TaskWorkPlan> select(QueryTaskWorkPlan queryTaskWorkPlan,Token token);

    Page<TaskWorkPlan> selectCc(QueryTaskWorkPlan queryTaskWorkPlan, Token token);
}
